package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by wolfcode-lanxw
 */
public interface IPermissionService {
    void reload();

    PageInfo selectList(QueryObject qo);

    List selectAll();

    List selectByRoleId(Long roleId);

    List<Permission> selectByEmpId(Long empId);
}
